package com.sf.wisdomkg.RongYun;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.sf.wisdomkg.R;
import com.sf.wisdomkg.utils.CommonUtils;

import java.util.ArrayList;

/**
 * Created by ming on 2017/9/26.
 */
public class ConversationActivity extends FragmentActivity {
    //UI
    private Button back_btn;
    private TextView bar_content;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.conversation);
        initView();
        bar_content.setText(getIntent().getData().getQueryParameter("title"));
        back_btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }
    /**
     * 初始化
     */
    private void initView(){
        back_btn = (Button)findViewById(R.id.back_btn);
        bar_content = (TextView) findViewById(R.id.bar_content);

    }
}